package zuoye;

public class zuoye4 {
public static void main(String[] args) {

	for(int i=1;i<=100;i++){
		
		int num1=i%10;
		int num2=i/10%10;
		if(i%7==0||num1==7||num2==7){		
			System.out.println(i);
		}
	}
	
}
}

